#include <stdio.h>
int main()
{
    int a = 0;
    scanf_s("%d", &a);
    for (int i = 0;i < a;i++)
    {
        for (int k = 0;k < a - i - 1;k++)
        {
            printf(" ");
        }
        for (int j = 0;j <= i;j++)
        {
            printf("* ");
        }

        printf("\n");
    }
    return 0;
}
